package cn.edu.ujs.coor.request.project;

import cn.edu.ujs.coor.request.BaseRequest;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProjectUpdateRequest extends BaseRequest {

    @NotBlank(message = "项目编号非空")
    private String id;

    private String name;

    private String description;

    private String type;

    private Date deadline;

    /**
     * 关联用户
     */
    private List<String> userIds;

    /**
     * 关联分组
     */
    private List<String> groupIds;

    private String userId;
}
